﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Sennit.SharepointAutoMapper;
namespace ExampleMvcWithSharepointOnline.Models
{
    public class City
    {
        [SharepointFieldName("ID")]
        public Int32? Id { get; set; }

        [SharepointFieldName("Title")]
        public String Name { get; set; }


        [IgnorePropertyInSharepoint]
        public String FieldOnlyEntity { get; set; }

        //Using LookupFild (Similar name of your sharepoint lookupfiel State)
        public LookupFieldMapper State { get; set; }
        
    }
}